package top.lywivan.netty.reactor.serialize;


import top.lywivan.netty.reactor.model.ResponseData;

public interface ResponseSerializer extends Serializer {

    byte[] encodeResponse(ResponseData responseData);

    ResponseData decodeResponse(byte[] bytes);
}
